package com.wnxy.sdd.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("sdd_syslog")
@ApiModel(value = "Syslog对象", description = "日志表")
public class SysLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("请求方式")
    private String reqType;

    @ApiModelProperty("请求地址")
    private String reqUrl;

    @ApiModelProperty("IP地址")
    private String ip;

    @ApiModelProperty("类全名")
    private String fullClass;

    @ApiModelProperty("操作方法")
    private String method;

    @ApiModelProperty("请求参数")
    private String reqParams;

    @ApiModelProperty("返回结果JSON字符串")
    private String respData;

    @ApiModelProperty("方法操作时间")
    @TableField(fill = FieldFill.INSERT)
    private Date operateTime;

    @ApiModelProperty("操作类型")
    private Integer optType;

    @ApiModelProperty("操作模块")
    private String title;
}
